package createThread;

/**
 * @program: jvm
 * @description
 * @author: tkk fendoukaoziji
 * @create: 2019-02-25 16:19
 **/
public class Mythread2 implements Runnable {
    @Override
    public void run() {
        System.out.println("子类实现接口");
    }
}
class test{
    public static void main(String[] args) {
        Thread t2 = new Thread(new Mythread2());
        t2.start();
    }
}